#include <iostream>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>

using namespace std;

int main(int argc, char const *argv[])
{
    vector<string> results;
    int b[3], i;
    cin >> b[0] >> b[1] >> b[2];
    sort(b, b + 3);
    if (b[0] + b[1] <= b[2])
    {
        results.push_back("Not triangle");
    }
    else
    {
        if (pow(b[0], 2) + pow(b[1], 2) == pow(b[2], 2))
        {
            results.push_back("Right triangle");
        }
        if (pow(b[0], 2) + pow(b[1], 2) > pow(b[2], 2))
        {
            results.push_back("Acute triangle");
        }
        if (pow(b[0], 2) + pow(b[1], 2) < pow(b[2], 2))
        {
            results.push_back("Obtuse triangle");
        }
        if (b[0] == b[1] || b[1] == b[2])
        {
            results.push_back("Isosceles triangle");
        }
        if (b[0] == b[1] && b[1] == b[2])
        {
            results.push_back("Equilateral triangle");
        }
    }
    
    for (i = 0; i < results.size(); i++)
    {
        if (i) cout << "\n";
        cout << results[i];
    }
        
    return 0;
}
